<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>文化沙龙</title>
<script type="text/javascript">
	function logout(){
		if(confirm("确定退出系统吗？")){
			window.location.href="/login.do?userAction=logout";	
		}
	}
</script>
</head>
<body>
<h2>欢迎<font color="red">${sessionScope.user.userName }</font></h2>
<a href="categoryadd.do">增加分类</a><br>
<a href="categorymanager.do">管理分类</a><br>
<a href="usermanager.do">用户管理</a><br>
<a href="goodsmanager.do">显示所有商品</a><br>
<a href="goodsinfo.do">显示单个商品</a><br>
<a href="goodsmanager.do">展示所有商品</a><br>
<a href="javascript:logout()">安全退出</a>

</body>
</html>